using IQIGame.Onigao.Framework;
using IQIGame.Onigao.Game;

namespace IQIGame.Onigao.GamePlay
{
    public class UD_BattleSettlement : UIBaseData
    {
        public BattleSettlementData settlementData;

        public static UD_BattleSettlement Create(BattleSettlementData settlementData)
        {
            var d = ClassPool<UD_BattleSettlement>.Get();
            d.settlementData = settlementData;
            return d;
        }

        public override void OnReset()
        {
            settlementData = null;
        }
    }
}
